﻿using System.ComponentModel.DataAnnotations;

namespace Web.Models.Messages
{
    public class CreateMessageModel
    {
        [Required]
        [UIHint("hidden")]
        public int SenderId { get; set; }

        [Required]
        [UIHint("hidden")]
        public int RecipientId { get; set; }

        [Required]
        [MaxLength(256)]
        public string Message { get; set; }
    }
}